package com.hejie.videoservice.exception;

import com.hejie.common.exception.BaseException;
import com.hejie.common.enums.ErrorCode;

public class VideoProcessingException extends BaseException {

    public VideoProcessingException() {
        super(ErrorCode.VIDEO_PROCESSING_FAILED, "视频处理失败");
    }

    public VideoProcessingException(String message) {
        super(ErrorCode.VIDEO_PROCESSING_FAILED, message);
    }

    public VideoProcessingException(String message, Throwable cause) {
        super(ErrorCode.VIDEO_PROCESSING_FAILED, message, cause);
    }

    public VideoProcessingException(Long videoId) {
        super(ErrorCode.VIDEO_PROCESSING_FAILED, "视频ID为" + videoId + "的处理失败");
    }
}